cmake_minimum_required(VERSION 3.0)
project(step0 CXX C)

include_directories(include)
# aux_source_directory(${PROJECT_SOURCE_DIR}/src   SRC_FILES)
#file(GLOB_RECURSE SRC_FILES ${PROJECT_SOURCE_DIR}/*.cpp)
# file(GLOB_RECURSE SRC_FILES ${PROJECT_SOURCE_DIR}/src/*.cpp ${PROJECT_SOURCE_DIR}/src/*.cu)
cuda_add_executable(serialize src/serialize.cpp)
cuda_add_executable(infer src/infer.cpp)
# cuda_add_executable(${APP_NAME} ${SRC_FILES})
target_link_libraries(serialize ${LINK_LIBS})
target_link_libraries(infer ${LINK_LIBS})
# message("link libs ${LINK_LIBS}")
install(TARGETS serialize RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)